﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>Admin: <%= controller.action_name %></title>
  <%= stylesheet_link_tag 'scaffold','admin','calendar-win2k-1' %>
  <%= javascript_include_tag :defaults %>
  <script type="text/javascript" src="/javascripts/calendar.js"></script>
<script type="text/javascript" src="/javascripts/calendar-en.js"></script>
<script type="text/javascript" src="/javascripts/calendar-setup.js"></script>
</head>
<body>
  <div id="hd">
    <!-- header -->
    <div id="hd-top">
      <h1>煤炭总医院护理科研论文管理簿</h1>
    </div>
  </div>
	<div id="bd">
  	<div id="leftbar">
  	  <h2>
  		 <%= link_to '文章列表', :controller => 'admin', :action => 'index' %><br/>
  		</h2>
  	  <h2>
  		 <%= link_to '科室列表', :controller => 'dpmng', :action => 'index' %><br/>
  	  <h2>
        <%= link_to '用户列表', :controller => 'login', :action => 'list_users' %><br/>
  		</h2>
  		</h2>
  	  <h2>
        <%= link_to '添加用户', :controller => 'login', :action => 'add_user' %><br/>
  		</h2>
  	  <h2>
        <%= link_to '退出', :controller => 'login', :action => 'logout' %><br/>
  		</h2>
  	</div>
  <div id="mainframe">
    <%= yield  %>
	</div>
	</div>
</body>
</html>
